package com.neil.dynamic.gateway.filter;

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

/**
 * GatewayFilter 过滤器
 * CustomeGatewayFilter 实现GateFilter来实现自定义过滤器
 * 通过GatewayFilter过滤器可以获取Request对象中的信息
 * @ProjectName:
 * @Package:        com.neil.dynamic.gateway.filter
 * @ClassName:      CustomeGatewayFilter
 * @Description:    java类作用描述
 * @Author:         Neil.Zhou
 * @CreateDate:     2019/10/14 17:24
 * @UpdateUser:     Neil.Zhou
 * @UpdateDate:     2019/10/14 17:24
 * @UpdateRemark:   The modified content
 * @Version:        1.0
 * <p>Copyright: Copyright (c) 2019/10/14</p>
 *
 */
public class CustomeGatewayFilter implements GatewayFilter {
    @Override
    public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
        return null;
    }
}
